package com.patents.service;

import com.patents.pojo.Users;

import java.util.List;

public interface UsersService {
    int addUsers(Users users);

    //根据id删除一个Book
    int deleteUsersById(int id);

    //更新Book
    int updateUsers(Users users);

    //根据id查询,返回一个Book
    Users queryUsersById(int id);

    //查询全部Book,返回list集合
    List<Users> queryAllUsers();
}

